package com.pluszg.nutrition.gateway.controller;

import com.alibaba.cloud.sentinel.datasource.RuleType;
import com.alibaba.csp.sentinel.annotation.SentinelResource;
import com.pluszg.nutrition.api.controller.gateway.IndexController;
import com.pluszg.nutrition.common.resp.CommonResponse;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexControllerImpl implements IndexController {

    @Override
    //@SentinelResource(value = "getByCode")
    public CommonResponse<Void> findById(@PathVariable(value = "id") String id){
        return new CommonResponse<>();
    }

}
